﻿<Window x:Class="Wintellect.LiveFx.Cloudboard.CloudLogin"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:Wintellect.LiveFx.Cloudboard"
    Title="Windows Live Credentials" Height="208" Width="306" WindowStyle="ToolWindow" WindowStartupLocation="CenterScreen">
    <Grid>
    <Grid.RowDefinitions>
      <RowDefinition Height="44"/>
      <RowDefinition Height="20"/>
      <RowDefinition Height="24"/>
      <RowDefinition Height="24"/>
      <RowDefinition Height="24"/>
      <RowDefinition Height="24"/>
    </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
      <ColumnDefinition Width="150*" />
    </Grid.ColumnDefinitions>
    <TextBlock Width="296" HorizontalAlignment="Left" Grid.Row="0" Grid.Column="0" TextWrapping="Wrap">In order to download your contacts, this application must connect to the Live Framework service.</TextBlock>
    <TextBlock Width="296" HorizontalAlignment="Left" Grid.Row="1" Grid.Column="0" TextWrapping="Wrap">
      Please enter your Windows Live credentials:
    </TextBlock>
    <TextBox 
      x:Name="liveIdAddress" 
      Grid.Row="2" Grid.Column="0" 
      Margin="2">
      <local:CueBannerService.CueBanner>
        <TextBlock HorizontalAlignment="Center">&lt;&lt;Live ID Address&gt;&gt;</TextBlock>
      </local:CueBannerService.CueBanner>
    </TextBox>
    <PasswordBox 
      x:Name="liveIdPassword" 
      Grid.Row="3" Grid.Column="0" 
      Margin="2">
      <local:CueBannerService.CueBanner>
        <TextBlock HorizontalAlignment="Center">&lt;&lt;Live ID Password&gt;&gt;</TextBlock>
      </local:CueBannerService.CueBanner>
    </PasswordBox>
    <CheckBox Grid.Row="4" x:Name="save" HorizontalAlignment="Center">Save My Credentials</CheckBox>
    <Button x:Name="ok" Grid.Row="5" Margin="140,4,76,-4" IsDefault="True" Click="ok_Click">OK</Button>
    <Button x:Name="cancel" Grid.Row="5" HorizontalAlignment="Right" Width="68" Margin="0,4,2,-4" IsCancel="True" Click="cancel_Click">Cancel</Button>
  </Grid>
</Window>
